package com.zxmc.server.mapper;

import com.zxmc.pojo.entity.Author;
import com.zxmc.pojo.entity.Novel;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AuthorMapper {

//    @Select("select * from author where status=1;")
    List<Author> list(Integer id);

}
